label: Simplify rendering code
authorBenjamin Otte <otte@redhat.com>
Thu, 2 Oct 2014 03:17:29 +0000 (05:17 +0200)
committerBenjamin Otte <otte@redhat.com>
Fri, 3 Oct 2014 04:18:06 +0000 (06:18 +0200)
commit8d1227a97c2097edb5634ac16684a818d517968f
tree274a3665fb0c4709968d76616702ebc279749e72
parent9744e86e0427937519d8e63f7ff3afed74de1aa0
label: Simplify rendering code

Instead of drawing text for selections and links manually, use the
gtk_render_background() and gtk_render_layout() functions.

As a side effect, this allows shadows on selected text and links
and real backgrounds (like gradients or images), too.
gtk/gtklabel.c